package com.itheima.stock.pojo.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

@Data
public class PermissionsDTO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String code;
    private String title;
    private String icon;
    private String path;
    private String name;
    private Long pid;
    private Short type;
    private String perms;
    private List<PermissionsDTO> children;
}
